package ShiTi;

import java.util.Date;
import java.util.List;

/**
 * 订单实体类
 * 存储订单信息，包括订单标识、用户标识、商品列表等
 */
public class DingDan {
    private String biaoShi;           // 订单唯一标识
    private String yongHuBiaoShi;     // 用户标识
    private List<ShangPin> shangPinLieBiao; // 商品列表
    private double zongJinE;          // 订单总金额
    private Date chuangJianShiJian;   // 创建时间

    // Getters and Setters
    public String getBiaoShi() { return biaoShi; }
    public void setBiaoShi(String biaoShi) { this.biaoShi = biaoShi; }
    
    public String getYongHuBiaoShi() { return yongHuBiaoShi; }
    public void setYongHuBiaoShi(String yongHuBiaoShi) { this.yongHuBiaoShi = yongHuBiaoShi; }
    
    public List<ShangPin> getShangPinLieBiao() { return shangPinLieBiao; }
    public void setShangPinLieBiao(List<ShangPin> shangPinLieBiao) { this.shangPinLieBiao = shangPinLieBiao; }
    
    public double getZongJinE() { return zongJinE; }
    public void setZongJinE(double zongJinE) { this.zongJinE = zongJinE; }
    
    public Date getChuangJianShiJian() { return chuangJianShiJian; }
    public void setChuangJianShiJian(Date chuangJianShiJian) { this.chuangJianShiJian = chuangJianShiJian; }
} 